$(document).ready(function(){
	$("#login").change(function () {
		$.get("component/ajax/regform.php",{name: "login", set: $("#login").val() }, function(data){
			  if(data==1){
				  $("#login").css("background","#91FF91");
			  }else{
				  $("#login").css("background","#FFAEAE");
			  }
			});
      });
});